package com.keliangliu.demo.config;

import org.springframework.boot.context.properties.ConfigurationProperties;

@ConfigurationProperties(prefix = "xy")
public class BeanDemoProperty {

    private String xyName;

    private Integer xyType;

    public String getXyName() {
        return xyName;
    }

    public void setXyName(String xyName) {
        this.xyName = xyName;
    }

    public Integer getXyType() {
        return xyType;
    }

    public void setXyType(Integer xyType) {
        this.xyType = xyType;
    }
}
